****************************************************************************
**		Authors: 	Or Tuttnauer & Liran Harsgor
**		Purpose: 	Produce Table 1 in Kedar, Harsgor & Tuttnauer (JOP)  
**		input:		KHT_countrylevel.dta
*****************************************************************************

log using "table 1.log", replace

set more off

use "KHT_countrylevel.dta", clear

/*Model 1*/
regress enps enpv lnmeddm vlmeddm smd mmm fused upper, robust
outreg2 using table1.doc, replace ctitle(baseline) dec(3)

/*Model 2*/
reg enps enpv lnmeddm sr vlmeddm vsr smd mmm fused upper, robust
outreg2 using table1.doc, append ctitle(with sr)  dec(3)

/*Model 3*/
reg enps enpv lnmeddm tqleg vlmeddm vtqleg smd mmm fused upper, robust
outreg2 using table1.doc, append ctitle(with % top quartile)  dec(3)

/*Model 4*/
reg enps enpv lnmeddm sddm vlmeddm vsddm smd mmm fused upper, robust
outreg2 using table1.doc, append ctitle(with sd(d))  dec(3)

/*Model 5*/
reg enps enpv lnmeddm skewdm vlmeddm vskewdm mmm fused upper, robust
outreg2 using table1.doc, append ctitle(with skewness)  dec(3)

/*Model 6*/
reg enps enpv lnmeddm psgt12 vlmeddm vpsgt12 smd mmm fused upper, robust
outreg2 using table1.doc, append ctitle(with %>12)  dec(3)

/*for robustness*/
reg enps enpv lnmeddm psst5 vlmeddm vpsst5 smd mmm fused upper, robust
reg enps enpv lnmeddm psgt12 psst5 vlmeddm vpsgt12 vpsst5 smd mmm fused upper, robust

log close
